body{
  font-family:"Hiragino Kaku Gothic ProN";
}

header {
  position:fixed;
  top:0;
  left:0;
  background-color:#203b3b;
  width:100%;
  height:90px;
  opacity:0.9;
  padding: 10px 30px;
  box-sizing: border-box;

}

.head-wrapper{
  display:flex;
  align-items: center; 
  margin-right: auto;
  width:100%; 
}

.menu{
  display:flex;
  gap:30px;
  list-style: none;
}

.menu li  {
  font-weight: bold;
  border-radius: 5px;/*背景にまるみをつける*/
}

.head-wrapper a{
  display: block;/*全体クリックできる*/
  color: rgb(255, 255, 255);
  text-decoration: none;/*下の辺消す*/
  padding: 13px 0px;
}
.head-wrapper a:hover{/*カーソルがボタンの上にあるときの挙動*/
  color: #2f4f4f;
  cursor: pointer;/*カーソルの形を変える*/
  border-radius:5px;
  opacity:0.7;
}

.logoutbutton{
  color: #2f4f4f;
  font-weight: bold;
  border-radius: 5px;
  margin-left: auto;/*左の余白を空白で埋める*/
}
.login{
  float:right;
  margin-top: 10px;

}


/*headerより下の部分*/
.contents{
  font-size: 20px;
  padding-top:100px;    
}

.contents a{
  text-decoration: none;
}

.contents h2{
  width:50%;
}

.logo{
  width:50px;
  height:50px;
  margin:0 10px ;
  opacity:0.5;
  border-radius:3px;
}

.signup-error{
  font-size:15px;
  list-style: none;

}

.title{
  color: white;
  font-size: 28px;
  margin: 0 10px;
}

.welcome {
  margin: 0;
  padding: 6px 10px;
  font-size: 16px;
  z-index: 1000;
}

.userpage{
  margin-top:110px;
  display:flex;
}

.bioedit{
  margin-top:90px;
}

.res{
  margin: 8px;  
}

.res_wrapper{
  background-color:rgb(239, 249, 246);
  border-radius: 5px;

}

.res_header{
  display:flex;
  align-items: center;/*文字を真ん中にする*/
  font-size:18px;
}

.res_header a{
  font-size:17px;
}



.thread{
  background-color:rgb(239, 244, 249);
  margin: 8px;
  padding:3px;
  border-radius: 5px;
}

.date{
  font-size:15px;
  color:#2f4f4f;
}

.thread_header{
  display:flex;
  align-items: center;/*文字を真ん中にする*/
}

.thread_header a{
  font-size:15px;
  color: #2f4f4f;
}


.thread_content{
  font-size:20px;

}

.thread_content a{
  display:block;
  color: #2f4f4f;
}

.thread a:hover{
  cursor: pointer;
  color:rgb(190, 215, 240);
}


.kao{
  height:150px;
  width:150px;
  border-radius:50px;
}

.name{
  width:100%;
  height:50px;
}

.name h2{
  margin:20px 0 0 0;
}

.bio{
  width:100%;
  height:75px;
  align-items: center;
}

.bio h3{
  margin:0px;
}
.bio p{
  margin:0;
}

.bio_header{
  display:flex;
}

.bio_header a{
  text-decoration: none;
  margin-left:5px;
  margin-top:3px;
}

.someinfo{
  margin-left:50px;
}

a{
 text-decoration: none; 
}

.AA{
  white-space:pre;
  font-size:10px;
  margin-left:auto;
  margin-right:100px;
}

.AA_container{
  display:flex;
  height:85px;
}

.contents h2{
  margin:0;
}

.fav_button{
  width:50px;
  height:50px;
}

.fav_button{
  width:25px;
  height:25px;
  padding-top:8px;
  padding-left:10px;
  background: transparent; /*ボタンの色を透明にする*/
  border:none;/*ボタンの枠を消す*/
}

.fav_button img{
  width:25x;
  height:25px;
  display: block;
}

.fav_form{
  width:100px;
  flex-direction: column;
  align-items: flex-end;/*alignは縦*/
}

.thread_title{
  display:flex;
  width:50%;
}

.thread_title h2{
  all :revert;/*親からのcssの設定をなくす*/
  margin:0;
}

.BB{
  margin-bottom:100px;
}